package com.hank.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 返回给前端的用户信息
 * @author hank
 * @since 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserInfoVo对象")
public class UserInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户 ID")
    private Integer id;

    @ApiModelProperty(value = "用户账号，不允许为空")
    private String username;

    @ApiModelProperty(value = "用户手机号，可以为空")
    private String phoneNumber;

    @ApiModelProperty(value = "用户邮箱，可以为空")
    private String email;

    @ApiModelProperty(value = "用户 Gitee 账号，可以为空")
    private String gitee;

    @ApiModelProperty(value = "用户 GitHub 账号，可以为空")
    private String github;

    @ApiModelProperty(value = "用户昵称，可以为空")
    private String nickname;

    @ApiModelProperty(value = "用户头像 URL，可以为空")
    private String avatarUrl;

    @ApiModelProperty(value = "用户地址，可以为空")
    private String address;

}